using System;
using System.Collections.Generic;
using Phoenix.Storage;

namespace Phoenix.Frames
{
    public interface IFrameJournal : IEnumerable<NavigationRequest>
    {
        void Add(NavigationRequest navigationRequest);
        NavigationRequest Pop();
        bool TrimTo(string assembly, string controller, string action);
        int Count { get; }
        void Initialise(ITransientStore transientStore);
        void Save(ITransientStore transientStore);
    }
}